import MobileView from '../views/mobile/index.vue'

export const moblieRouter = {
  path: '/m',
  name: 'mobile',
  component: MobileView,
  redirect: '/m/home', // 一级默认路由
  children: [
    {
      path: '/m/home',
      name: 'MHome',
      component: () => import('@/views/mobile/home/index.vue')
    }
  ]

  // route level code-splitting
  // this generates a separate chunk (about.[hash].js) for this route
  // which is lazy-loaded when the route is visited.
  // component: () => import(/* webpackChunkName: "about" */ "../views/Mobile.vue"),
}
